<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/page/taglibs.jsp" %>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>${appid}-应用模块开发</title>
<%@ include file="/adapter/adapter-macms.jsp" %>
<%@ include file="/adapter/adapter-easyui.jsp" %>
<script src="${ctx}/res/common/js/jquery.min.js" type="text/javascript"></script>
</head>
<body class="easyui-layout" style="margin:0;padding:0">
<div data-options="region:'west',title:'导航栏'" style="width:233px;padding:1px;">
	<ul class="easyui-tree" data-options="animate:true,lines:true" id="menu_app_config">
			<li>
				<span><a href='${ctx}/appFrameModule1/appFrameModuleList1?appid=${appid}&appname=${appname}' target="centerFrame">${appname}</a></span>
				<ul>
					<c:forEach items="${moudlemap }" var="map">
						<c:choose>
							<c:when test="${map.value==null}">
								<li>
									<span><a href='/macms/plupmodule/edit?module_id=${map.key.moduleId}' target="centerFrame">${map.key.moduleName}</a></span>
								</li>
							</c:when>
							<c:otherwise>
								<li>
									<span>${map.key.moduleName}</span>
									<ul>
										<c:forEach items="${map.value}" var="sonmodule">
											<li><a href='/macms/plupmodule/edit?module_id=${sonmodule.moduleId}' target="centerFrame">${sonmodule.moduleName}</a></li>
										</c:forEach>
									</ul>
								</li>
							</c:otherwise>
						</c:choose>
					</c:forEach>
				</ul>
			</li>
		</ul>
</div>
<div data-options="region:'center',title:' '">
<iframe id="infoFrame" name="centerFrame" src="/macms/appFrameModule1/appFrameModuleList1?appid=${appid}&appname=${appname}" height="100%" width="100%" frameborder="0" scrolling="auto"></iframe>
</div>
</body>
</html>